moved getprojects out of commands.
added subproject listing.