Refactor to use calipso as a module.

Add proxy module files.