New functions and standards

Added insert function, cross domain request in server, standardized the
controller, added the bodyparser