Added generic data service for sails, refactored Authors and Books to use that service. Added backend constant definitions.