Condensed all Actions to 1 Function

Heavy code cleanup. Slightly altered the API call to do so, but it is
much cleaner now on the API's end.