Refactor, revise and document easyCores