Improvements

Some fundamental issues regarding creation of features - would it be
easier to do in SQL. Certainly do it for comparison sake.