Moved what was in main to build, made constructors, started prototype for send.