improved the views a little bit and added a basic select function to models.