Reorganized cloud code into seaparate js/css files