Free interface API is now moved as a library, so it can be referenced from a different points in the code
Signed-off-by: Delian Delchev <delian.delchev@gmail.com>