dataprocessing, validation and database layer