instancify

- converts Toby core class from static to singleton