Add appledoc comments
Split Rakefile
Add doc task