cleaned startup() and moved stuff to getOffsetManager