added spring security core, renamed packages and added ajax controller