complete functionality added, added sim and lighting functionality
someone tell me how to reuse classes