-Some fundamental db functionalities added
-Code reformatted