Extracted library and console application into separate projects. Closes #3