Implemented changing pattern

Also everything is named piglowd consistently now