added add methods and use point
added constructor and destructor
added point constructor and destructor
added few things to db destructor