Adjust namespaces for mp and sp

moved engine code into "ng" namespace. Moved sp code into "sp" namespace.
Also, renamed some files to reflect the change.