Reworked views, optimized DB.
Working on JS side.