Moved engine into service/scanpost namespace
Refactored much of the code into a more logical structure