Cleaning up boss_db_controller for reading from slave and writing to master.