Set up basic DB Conn

Still having problems with classes though, works fine outside that.