Moved simplates to www/ and reformatted some of the code.