Added reading from database
Refactoring
More database code
Added db creation file
Li