A flexible AO system for research and educational purposes