Better bootstrap construction
Fixed AJAX controller