It seems that IntelliJ has problems with the idea of keeping objects
in a schema other than public, and freaks out when it can not find the
relations in the code that he clearly lists on the sidebar.
Most of the code comes from Numerus, except that i replaced the router
with a simpler chain of handlers that i already used with some success
in other projects that feels a little cleaner.