Moves the post of a UserAction to a method.
Moves configuration to the same package with controller.
Renames package model to data.