Move classes to new file.
Add controller class for field_index entity and simple method to get it.