fix DataPacket being in wrong namespace
add abstract class AppBase
correction: seralize -> serialize