Add Obstruction.getObstructionFromEntity method

Also, add Logger class
Also, add the ParsingException RuntimeException