Extracted common code
Added feature warnings
Removed reflective calls
Included feature warnings in build.sbt
Merge pull request #50 from alexeyr/master

Minor cleanups