Updated script structure

https://github.com/cferdinandi/kraken/issues/38
New API exposes additional methods for use in your own scripts.
Updated buoy
Launched version 4
Merge branch 'init'