basic features done, now for resolving of references and string.format() feature