Config database. Create home controller