Added Util, Preferences. Some minor improvements.
Merge branch 'master' of https://github.com/igororlov92/WagonsRecognition