Java Project to practice Factory pattern.