New object method

Organised the code better, and now makes the returned object a display
group as opposed to a table with a .group property, for easier use.