Remove unnecessary files from dist, fix bower.json to have main