First real commit, created initial library functions.