Prefixed member variables with m or p. Put scan parameter member variables together in a struct. Started to setup the internal buffer.