Place modules.c in BINDIR not SRCDIR.
Webui is now controller.

Old controller is kept in legacy_controller.c.