Add some methods to controller

NewMap
NewPieces
AddImage