Added Database wrapper

Currently not connecting to remote database, Message=Arithmetic
operation resulted in an overflow.