Splited current logic into three different projects