Adjusted the array returned. Results grouped by integer as well as by
proposition
Added composer support and renamed the class file