New client.lua

Lets structure this some more