minor changes
refactored significantly to incorporate content model, added raty.js