Refactored packages of reflection api