Implemented constructors
Added destructor
Implement property queries
Split query implementations to a file