Incarporated new Design
After some debugging-removed Bug in ArrayInputStream