Converted application to a static library