Added config with using Conf class. Removed old methods