update persister and beans to work with annotations (maybe add custom mappers and converters later on?)