make a gem out of OQL

also include required legal files