Move scripting to its own files now

comment tons of other stuff out