kitchen sink

All the code from the demo. Will refine again soon.