API(Alternate branch): Added first few calls without using get_courses_m...

Creating the API without use of functions get_*_main
is it possible to add the "AND" piece to the clause inside create_SQL_clause() ?