Changed pass hasher (bcrypt->pbkdf2-sha256) and moved routines to separate file