Implemented a basic packet handler.
Fixed up a little positioning.