fix some file paths
modify the entry point
export lottery as a module
update makefile