added code for atom validations similar to gentoo style atoms (modelled after slightly) have not tested tho, just wanted the code in so I could grab it at work really.