Adding version check and failing if less than 5.3

Feature implementation for #31 and #32.