Don't require port on command line
Add more error checking and options for choosing templates to render records