fixes some CDI issues, adds location view files