refactored
added implementation for trainee_list. works with trainer API now.
added API handler - supports POST and GET with or without authentication. will add comments soon.