reference Erlang version required
copyright
refactor macros to library
refactor ?VERSION/1 logic to helper function