md2latex can be a library.

md2latex can be a library. Use __name__ condition for command line interface