Cleaned up DatabaseHelper so that the project can be compiled