Scaffolding
Started rewriting main file on JS