Base api and sistem constants (types and statuses) refactor