Up and Running/More Testing

Almost all functions are working correctly to an extent. More rigorous
testing is welcome. Only a few more functions to write, almost there.