Add registry main cmd

This PR contains the runnable entry point for the registry application.