input reading & basic handling
fixing permissions on source files
beginning token handling
moved token logic to own file