diff --git a/Makefile b/Makefile
index 091c664..08eebea 100644
--- a/Makefile
+++ b/Makefile
@@ -3,22 +3,23 @@ BEAMS = $(MODS:src/%.erl=ebin/%.beam)
TEST_MODS = $(wildcard test/*.erl)
TEST_BEAMS = $(TEST_MODS:test/%.erl=test/%.beam)
TS_ROOT=/usr/lib/yaws/jdb-labs/timestamper
+CWD = `pwd`
default: compile
all : compile test
-compile : $(BEAMS)
+compile : init $(BEAMS)
-compile-test : $(TEST_BEAMS)
+compile-test : init $(TEST_BEAMS)
test : start-test-server run-test stop-test-server
-test-shell : compile compile-test
+test-shell : compile compile-test config-yaws-dev
@echo Starting an interactive YAWS shell with test paths loaded.
@yaws -i --pa test --id test_inst
-run-test : compile compile-test
+run-test : compile compile-test config-yaws-dev
@erl -pa ./ebin -pa ./test -run timestamper_api_tests test -run init stop -noshell
start-test-server :
diff --git a/doc/model.txt b/doc/model.txt
index ea15525..6c4932f 100644
--- a/doc/model.txt
+++ b/doc/model.txt
@@ -19,9 +19,9 @@ UserView
Data Dependencies
-----------------
UserModel: none
-TimelineModel: UserModel
+TimelineModel: none
TimelineListModel: UserModel
-EntryModel: TimelineModel
+EntryModel: none
EntryListModel: TimelineModel
diff --git a/www/index.yaws b/www/index.yaws
index aef2d14..d9041e3 100644
--- a/www/index.yaws
+++ b/www/index.yaws
@@ -23,7 +23,7 @@