Refactored logic into seperate files