Entity-Component-System in Java