add fcontext and seport manage define
refactor things for >2.7
remove hiera