Base client files
Refactored draw function