Refactor into subfolder

Signed-off-by: greenTara <taraathan@gmail.com>