added Code.java
added static Codes class to hold all codes