a rewrite of all of the code

being there was some major problems wiht the orginal clone Cloud OS i
have had to rewrite it. sady i have not at the point that i was at
before but this code has better codeing conventions and has less bugs