moved attack to action
fixed #7
fixed #4
added util package