Added database capabilities

Database is local only