fixed typo in import of actions.action
splitted logic items into multiple files