removed runtime dependency from grape api library which use to depend on hell lot of runtime dependencies
refactoring