Make quantities testable

By turning it into a console application. Visual Studio is weird.