add file main for mini-example