add main.go to test
adding test struct codes
add dir