Updating fragment to include static injection and moving injection calls to fragment creation