Implemented Database

Database stores all information now.