Add config and database set up