Refactored core, worked on some validation ideas using monads.
Removed brainstorming code.