implemented a first sprite manager