Cleaner examples

Created more and cleaner example code. This should only be merged after #91.