added python templating to prep for ui layer

also adjusted js directory structure and generated test docs