New Functions

Added a lot of new Functions, including the SQL integration.