Added submodule handling. fix: #30

#30 

Add server side api for submodule.


p.s. Any suggestions for the UI?  I was thinking something similar to remotes...