Fixes, model merger

Merged models to one file for easier git handling, added revision
header, added login checks