added players controller and model along with tests. fixed db configuration in test.