It is not intended for you to compile your own code together with mojoportal code, your code should be in separate projects and compiled into separate dlls of your own.
unless your code changes you don't have to redeploy your dll after it is first deployed so I don't know what you mean about every synchronization, but in any case that is going to have to be a good enough solution.