Changed network resource to used model database access layer.