added config and services classes and config erbs