New Structure of Codes

The structure of codes are changed. They are more specific and thus
avoid those "super long code files".