Refactor for production usage
Build distribution files