separated db config file and add travis rake file