select methods in Database.java

Added select methods to make searching tables easier
Implemented loading of Element

Database:
+ added creation of TemplatesTable
Element:
+ added constructor and load function