added looping feature and defaults
added looping count feature. Currently the callback is not available after looping for X amounts of time... Still working on that