Remove some comments and rewrite BaseController. Add requirements for pip to install python packages.