added events (not really), created packet handler and options guy