Completed database parsing

It should create an empty database when run