add main function for lein run