added methods to API

New methods:
* add (adds individual functions or array with functions and delay
times)
* delay (adds delay)
* stop (now clears stack)

New getters:
* length: returns size of stack
* index: returns current index of stack