Take a look at the package and platform developer's guide of the core documentation at: http://www.openacs.org/doc/
cheers,
Torben