adding basic promisebased modelloading
added basic db support and authentication over db (with hashing and stuff)