Working prototype

Base working functionality