Changed the structure of the project

Split the packets and everything else into two separate packets to make
it more organised.