Added Database Class

Which will handle all connections to database and other functions that operates on database.