add method 'getRuntimeConfigPath' to create runtime config path. add phpunit test