Code cleanup. Added some dist targets to help those who don't want to build the app.