1. fixed bugs in log function
2. fixed wrongly written
3. added grunt to package app