added map manager, adding animation library for lua