Solved Bug: Everything was crashing on database creation

-changed database initialization so that is used 'this' for the context
instead of 'context'