Merge pull request #3 from weblancaster/development

Official first release.
code refactoring and add test on valid json and invalid json