First checkin of code for text collections