create back end layers with basic functionality
created basic api functionality