Define basic packet commands.
Re-organize file structure.