Debugging Errors. Got database creation and value injection to work