First frontend changes

Added auto complete. Separated files out etc.