Modifying parsing order

Scripts are now parsed before Views.  Also doing some basic cleanup.