Split modules to their own files