Added basic functionality

added basic functionality to the API( before refactoring)