Move the packet handler into a BH
Move timer code out into a file