Refactored brute force apps, code cleanup