Moved to 3 separate executables, to make nginx's life easier