Split declarations from dependencies
Include express middleware