some cleaning on the main file

Signed-off-by: Deleterios <deleterios@gmail.com>
move Action feature to a module

Signed-off-by: Deleterios <deleterios@gmail.com>