Adds seed class method.

Also moves examples to test folder. The example now works!