added api docs, just because; some work towards jsp pages