more work

lua stuff added
Can now scan for buildings in Lua and load them

A large step; I kept forgetting to commit