Framework rewrite, expressjs inspired