cleaned up old sample code
fixed port issue in dev