Paclone: move drawing functions into their own file