Got encoder working

Well not fully but it can send the program to the client. The client can
remove and edit parts of the program. Though some changes don't save due
to the task not being fully setup yet.