File for class functions, a few functions

Haven't tried to compile this, very much incomplete.