Added functions

Also the addition of the standard library and more operators on all
types.