Renamed database class and added single sql statement page