adding support for directions
removing dist, fixing gitignore