Updates

Added readme, a license and updated the collect function to always use an Array.