Commenting complete. Static Generator added. modified class heirarchy a bit