moved database design discussion, added a short AS exercise