Moved shared code file to common project