Cleaned up and added generator/filter example