Implements SCAPI

Implemented SCAPI functionality and created test cases for functions implemented