Target core and framework

The project should be multitarget so it works with dotnet core and framework. This will really help the process of migrating legacy applications.