Victor/make main

add a main function