restructured the project structure. resolves #5
added license doc. resolves #4
added controller as a dependency