Sync push of data implemented.
Cleanup.
Large files problem.
Cleanup.
Some more cleanup.
Merge pull request #1 from klemenkenda/master

pushData and some minor architectural changes from master.