Improved Action class using a better class "style"