Move classes to lib directory
Add namespace to actions
Refactor to use inmutable entity