Refactor controller
Refactor and handle more bad input in CodeParser
Ingore and remove DS_Store
refactored guess validation