Code cleanup
Add AJAX support to Gallery controller
Views shuffling