move code to separate folder
add doc parser prototype