Changed backend API for consistency
Merge pull request #27 from anryko/master

Changed backend API for consistency