tzhang - add application file with main function