move sc_engine to app directory