Moved meta data from api related code to separate class
First attempt to work with compilation detection (not finished)