Extracted error label
Added first core
Added javadoc comments