Moved application into a single file.