Reimplemented draw_path() without 'if'
Move Path related functions to path.* files