moving class to proper directory corresponding to namespace