add mobile main engine

to change for ios using #define
add sign