Added settings and ticker mode for pivotal tile

Also added tests for pivotal tile and cleaned up some code.
Added test for pivotal helper