fixed file IO and added standard scheme library