Prelim first working copy

Basic functionality