Changed to remove sliding view controller, Added code to configure with api