Refined PHP basic framework. Working on JS framework structure,