Created new database handler
Created test query
Added class to fetch query objects into
Changed queries to prepared statements