Added AES module to server, refactor views