Added fileread and filewrite as a class. filewrite is called in build, fileread is called in demo