move tests case from codeception to phpunit
add Makefile
switch config() method to slim dependency injection