Simple OS manager written in java