fixed types, added repl, renamed app to file