added EMR class

I am thinking of adding support for EMR, This is my first draft. Please let me know what do you think?