Ajax callbacks refactoring and life cycle functions added