Adding properties rendering functions and moved code from admin meta box to that functions and adding tabs