add support for adding routes to modules without states
add ability to create empty modules