Added first database operations, nothing final though