Fix missing imports and add FlicLib as a project dependency