Added new commands to more easily build structures

fixed some bugs added new commands