Remove unit tests.
Remove obsolete files.
Remove AMD module structure.
Update git ignore file.
Lint clean code.
Remove heap protocol.
Remove unused file.
Merge branch 'refactor'

* remove unnecessary code
* remove AMD module style
* lint code
* remove heap protocol and tests