Repurpose module entry point
Update tests to respect new module entry point
Move actions into separate folder