added new constants for FasTApi notifications

fixed memory leaks