use class to wrap functions
add main.cpp