Adding documentation and minification