Bitwise operations supported for expression evals

Some minor refactoring as well.