moved funcs around, Created pieces factory now

Associating images to pieces in the structs