move paddles to separate thread

Moved paddles to their own thread and added a queue for the commands
(can be used for network commands too), general cleanup of memory,
comments