most of the issues solved
everything working except the save action
Merge pull request #4 from santosj/master

Thanks!