Start to untangle the recursive module in As_project

Related to #66 (as `Dir is now renamed to `Component) and to #63