Seperating the engine and webapp