renamed ftl to jsp, added api