added config file implementation
added config implementation