More separation of host and device code
Compiler warning silenced
More separation of code
Fixing bug introduced into soptop.cpp
Wrapped stuff in classes; probably broke smth.