fixed some minor bugs with dev documenation, added dist folder as option, updated README.md