Revert "removed interface, setup for deploy"

This reverts commit f4e77e9df2a2f9b0245ac14ed7f3137bd777cffc.
works on a subdirectory (/api) socket now