Extracted action class names for Java/Scala in trait

The action/controller class names will be used by different
components, hence we should avoid duplicating the names.
wip