Refactored Div parser, implemented upload div command