Begin to refactor repositories and added entities for location and author