replaced type classes Bool,Eq and Ord using their counterparts from AwesomePrelude