added support for generating shared banking objects

- fixed the documentation and function definitions not being part of the prototype
- added some function body elements to the init function (generting bank object, firing the component init functions
- added the banks generator function