Add submodule serverside api

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