cleaned up process commands, basic support for packets