add building functions; todo; unit action

lots of notes in comments about todo items
lua actions for units and dummy units
many building functional changes