REBASE - Start from scratch

First commit of newly rewritten code. No CSS no UI pure js and html
(jade).