Created a function library and had the main src file only contain main