Totally refactor the code

This will bring a more simple design, a more formal config file, and a
easier way to add benchmark. Not everything works well now, but Chrome
on Linux is bacally working.