Implemented initial spring security, moved resources to resource dir