Add database structure.
Added routes.