add cli support and rename the main file