implemented procedures and function, changed akteneintrag types from date to timestamp