Some basic rendering and packet system

Packet system is almost complete.
Few bugs :(