added ssh handling, organized config files