liveview: Use argparser for argument parser

Also add --interval option
liveview: Move class definitions out of if __name__
liveview: Whitespace fix