Compile-able scripts

Scripts can compile. Template edited to reflect changes.
TODO: update .esp in CK, test in Skyrim