implemented location list and detail vieww and templates