Added destructors for singletons and updated line class
Implemented remaining methods of line class