add scanner and include files
add main and util function