Fixed ORM model loading and route parser
Random secret if no one provided