simple media organization program in java