add action manager interface
change some javadoc.
implement action main functionality
some changes and simplifications