Move structs to general_types.h

Since order_t position_t and security_t are common
structures I moved them all to general_types.h