move directory definitions in to methods; use ruby methods for symlinking instead of shelling out; get rid of 'current' file and just read the symlink instead