A framework for creating visual novels