File fixes

Signed-off-by: shyeon.kim <kimseo@kth.se>
Added library support and test applications

Signed-off-by: shyeon.kim <kimseo@kth.se>