Change OMF project layout

There are massive changes, runAllTests succeed. If not suitable, revert
this commit.