Added example code, organised files