Front page + some refactoring.