basic functional - db relations, ajax, routing and shit