Made methods extern and added comments to show where normal file breaks would go.
something to quickly test syntax
merge fixes
fix location of doit