moved file and directory functionality to separate class, started replacing old configuration functionality