Added easier examples, cleaned up code