Cleaned up code. Working graphael shell with example databases