Added basic read from database
finished prototype