Refactored stitch and main class. Fully implemented basic file system