Refactor to new namespace; split ide and engine sources. Closes #56 @6h