Add support for adding subprojects

@irrationalfab ^^