Restructure the project for distribution
Adding required code for distribution
Fix license and some modules docstring