initial database and controllers setup