adding run-main

First pull request evahh