add main class
add licence