#130 create new methods in bytecodegen class to add/get the indexes for methods/fields/classes from the constantpool, use these methods in all other methods