Added basic validation. See #1.
Setup python package format.