Cleaned up the DataSource example to use a timer.
Added the examples into the idea project, for easy review/execution. Switched to java 8.