Move draw function out to a separate file