adding ajax calls now. Adding templates for working with ideas